package com.ruoyi.index.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 发布评论点赞对象
 */
@ApiModel(value = "PostcommentsLike",description = "评论点赞实体")
public class PostcommentsLike {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("评论id")
    private Long postcommentsId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPostcommentsId() {
        return postcommentsId;
    }

    public void setPostcommentsId(Long postcommentsId) {
        this.postcommentsId = postcommentsId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public PostcommentsLike() {
    }

    public PostcommentsLike(Long id, Long userId, Long postcommentsId, Date createTime) {
        this.id = id;
        this.userId = userId;
        this.postcommentsId = postcommentsId;
        this.createTime = createTime;
    }
}
